package com.itheima.health.service;

import com.itheima.health.dto.SmsLoginParam;

public interface PhoneLoginService {
    /**
     * 获取验证码
     * @param telephone
     * @param code
     */
    void createPhoneUser(String telephone, String code);

    /**
     * 验证码登录
     * @param telephone
     */

    SmsLoginParam findByTelephone(String telephone);
}
